package cn.myframe.service.sys;

import cn.myframe.entity.sys.SysInfoCompanyEntity;

import java.util.List;
import java.util.Map;

/**
 * 消息和运营商关联表; InnoDB free: 3431424 kB
 * 
 * @author ynz
 * @email ynz@myframe.cn
 * @date 2017-09-07 15:18:56
 */
public interface SysInfoCompanyService {
	
	SysInfoCompanyEntity queryObject(Long id);
	
	List<SysInfoCompanyEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysInfoCompanyEntity sysInfoCompany);
	
	void update(SysInfoCompanyEntity sysInfoCompany);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
	
	int checkExist(String id ,String name);
	
	int updateStatus(Long[] ids, Integer status);
	
	void deleteByInfoId(Long infoId);
	
	void deleteByInfoIds(Long[] infoId);
}
